#include <stddef.h>
#include <stdio.h>

#include "handlers.h"


#define _STR(s) #s
#define STR(s) _STR(s)

#define print_offsset(struct_name, field) \
	printf("#define %s %lu\n", STR(struct_name) STR(__) STR(field), offsetof(struct struct_name, field))

int main() {
	print_offsset (interrupts_data, return_addr);
	
	return 0;
}